package com.lan.app.service;


import com.lan.app.repository.Tb;
import com.lan.support.page.Page;
import com.lan.support.page.PageHelper;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface ITbService {

    @Transactional
    Integer save(Tb tb);

    @Transactional
    int del(Integer id);

    @Transactional
    int modifyDel(Integer id);

    @Transactional
    int updateById(Tb ctb);

    Tb get(Integer id);

    Page<Tb> page(PageHelper helper, Tb param);

    List<Tb> getList(boolean isTp);
}